<%--
  Created by IntelliJ IDEA.
  User: kevin
  Date: 2017/11/10
  Time: 11:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>火车票查询</title>
</head>
<body>
<c:if test="${not empty MSG}">
    <div style="color: red">
        ${MSG}
    </div>
</c:if>
<h3>火车票查询</h3>
    <form action="/train/query" method="post" >
        车   次:<input type="text" name="trainNum"placeholder="请输入车次号"/><br>
        出发地:<input type="text" name="startStation" placeholder="请输入出发地"><br>
        目的地:<input type="text" name="endStation" placeholder="请输入目的地"><br>
        <input type="submit" value="查询"align="center"/>
    </form>
</body>
</html>
